package com.google.code.gaeom.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Peter Murray <gaeom@pmurray.com>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Parent
{
	public static enum FilterPolicy
	{
		NoFilter,
		RetainKey,
		AncestorQuery
	}
	public FilterPolicy value() default FilterPolicy.RetainKey;
}
